package com.dawn.modules.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dawn.modules.chat.entity.Note;

public interface NoteService extends IService<Note> {
    /**
     * 添加笔记,并返回笔记ID
     * @param userId 用户ID
     * @param noteBookName 笔记本名称
     * @param title 笔记标题
     * @param content 笔记内容
     * @return 笔记ID
     */
    Integer addNote(Integer userId, String noteBookName, String title, String content);
}
